package com.liukai.novel_base.base;

public class BasePresenter<T extends IBaseCallBack>{

    protected T mCallBack = null;

    /**
     * 注册Presenter接口
     * @param callBack
     */
    public void registerCallback(T callBack){
        this.mCallBack = callBack;
    }


    /**
     * 取消注册Presenter
     * @param callBack
     */
    public void unRegisterCallback(T callBack){
        mCallBack = callBack;
    }

}
